package metamodels;

import java.util.ArrayList;
import java.util.List;

import parser.generic.Node;


public class IdentifiersSemicolon extends Node {

	List<Identifier> identifiers;
	
	public IdentifiersSemicolon()
	{
		identifiers = new ArrayList<Identifier>();
	}
	
	public void addIdentifier(Identifier data) {
		this.identifiers.add(data);
	}

	@Override
	public String toString() {
		String out = "";
		
		for(Identifier id : identifiers)
		{
			out += id + "; ";
		}
		
		return out;
	}
}
